package com.lagou.factory;

import com.lagou.dao.UserDao;
import com.lagou.dao.UserDaoImpl;

public class UserDaoFactory {

    /**
     * 通过工厂方法拿到UserDao
     */
    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
